<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>金额转化</title>
<script type="text/javascript" src="./transform-money.js"></script>
</head>
<body>

<p>输入金额转化为大写：如[把1000 转化为 壹仟元整]</p>
<p id="getCapital"></p>

<script type="text/javascript">
// $("#num").on("keyup",function(){
// 	var this_num=$(this).val();
// 	$("#getCapital").html(convertCurrency(this_num));
// })
var getCapital = document.getElementById("getCapital");
getCapital.innerHTML= convertCurrency(20020.32);

</script>
</body>
</html>